using UnityEngine;
using System.Collections;

public class BasicEnemy : Enemy 
{
    public override void Start()
    {
        base.Start();

        speed = 5;
        hp = 100;
        damage = 10;
        damageDelay = 1;
    }

    public override void Attack()
    {
 	    base.Attack();

        transform.LookAt(new Vector3(player.position.x, transform.position.y, player.position.z));
        transform.Translate((Vector3.forward * speed) * Time.deltaTime);
    }
}
